//
//  main.m
//  付剑英-02
//
//  Created by dllo on 16/2/25.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Zombie.h"
#import "BucketZombie.h"
int main(int argc, const char * argv[]) {
    Zombie *per1=[[Zombie alloc]initWithtotalBlood:1000 loseBlood:35];
    [per1 settype:@"普通"];
    [per1 sayHi];
    BucketZombie *per2 = [[BucketZombie alloc]initWithtotalBlood:1500 loseBlood:50];
    [per2 settype:@"路障"];
    [per2 setProp:@"锤子"];
    [per2 setWeakness:@"火"];
    [per2 sayhello];
    
    
    
    
    
    return 0;
}
